/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package fwdisp.gui.tabs;

import fwdisp.gui.tabs.welcome.ChangeLogTabPanel;
import fwdisp.gui.tabs.welcome.FeedbackTabPanel;
import fwdisp.gui.tabs.welcome.WelcomeTabPanel;
import settings.MainSettingsManager;
import settings.collections.elements.PictureManager;
import imagetabpaine.ImageTabPanel;
import imagetabpaine.Tab;
import imagetabpaine.TabColors;
import java.awt.BorderLayout;
import javax.swing.JButton;

/**
 *
 * @author rbs
 */
public class WelcomeTab extends ImageTabPanel{

    public WelcomeTab() {
        super(60, BorderLayout.NORTH);
        
        
        PictureManager pics = new PictureManager();
        
        setVisible(true);
        TabColors sec_row = MainSettingsManager.getSetting().getColorSettings().secRow;

        setTabColors(sec_row);
        setName("Start");
        
        ChangeLogTabPanel changeLogTabPanel = new ChangeLogTabPanel();
        WelcomeTabPanel welcometabPanel = new WelcomeTabPanel();
        FeedbackTabPanel feedbackTabPanel = new FeedbackTabPanel();
        
        setImageSize(70);
        setTextPosition(JButton.RIGHT, JButton.CENTER);
        AddTab(new Tab(welcometabPanel, pics.getImage("welcome", "welcome.png")));
        AddTab(new Tab(changeLogTabPanel, pics.getImage("welcome", "change.png")));
        AddTab(new Tab(feedbackTabPanel, pics.getImage("welcome", "feedback.png")));
        
        finizialize();
    }
}
